/*
 * XmlException.cpp
 *
 *  Created on: Jan 6, 2009
 *      Author: sez
 */

#include "XmlException.h"

/*!
 * \brief Encapsulate exceptional conditions in Xml handling.
 * \details Instances of this class are constructed on the stack
 * and thrown when exceptional conditions occur during Xml processing,
 * either at the level of data tags, or file processing.
 */

/*!
 * \brief Construct a new XmlException object.
 * \details The new XmlException object is initialized with the given
 * \a message.
 * \param message to be set on the XmlException.
 */
XmlException::XmlException(const QString &message)
    : mMessage(message)
{
}

/*!
 * \brief Destroy the object, returning any resources.
 */
XmlException::~XmlException()
{
}

/*!
 * \fn QString XmlException::message() const
 * \brief Return the contents of the string message, usually a
 * description of what caused the exceptional condition.
 * \return QString of the message.
 */
